package punctuatedEquilibriumTest;

import static org.junit.Assert.*;

import org.junit.Test;

import punctuatedEquilibrium.PunctuatedEquilibriumModel;
import punctuatedEquilibrium.SimulationParameters;

public class PunctuatedEquilibriumModelTest {

	@Test
	public void testPunctuatedEquilibriumModelCreation() {
		SimulationParameters parameters = new SimulationParameters(0, 0, 0, 0);
		PunctuatedEquilibriumModel model = new PunctuatedEquilibriumModel(
				parameters);
		assertNotNull(model);
	}

	@Test
	public void testRunModel() {
		SimulationParameters parameters = new SimulationParameters(10, 10, 0.5,
				0.6);
		PunctuatedEquilibriumModel model = new PunctuatedEquilibriumModel(
				parameters);
		model.runSimulation();
		double[][] data = model.reportArrayContainingData();
		assertNotNull(data);
	}
}
